-- GENERATED SPELL FOR [Hungering Plaguehound] --


function spell0_30952(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30952', 30330, 1)
end

function Sorts_30952(pUnit, Event)
local choix_sorts_30952 = math.random(0, 0)
if choix_sorts_30952 == 0 then
pUnit:RegisterEvent('spell0_30952', 1, 1)
end
end

function mob30952_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30952', math.random(1500, 3000), 1)
end

function mob30952_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30952_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30952_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30952, 1, 'mob30952_Action')
RegisterUnitEvent(30952, 2, 'mob30952_Leave')
RegisterUnitEvent(30952, 3, 'mob30952_Kill')
RegisterUnitEvent(30952, 4, 'mob30952_Die')
